package net.citrite.android.logger;

import java.util.logging.Formatter;
import java.util.logging.Handler;
import java.util.logging.LogRecord;

public class DetailReportFormatter extends Formatter {
    @Override
    public String format(LogRecord record) {
        String message = formatMessage(record);
        return message + "\r\n";
    }

    @Override
    public String getHead(Handler h) {
        final String header = "file,line,column,columnEnd,severity,code,context\r\n";
        return header;
    }
}
